﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.Trading.SaleContractChecklist
{
    /// <summary>
    /// 销售合同清单
    /// </summary>
    public class SaleContractChecklistRequestDto
    {
        /// <summary>
        /// 销售合同Id
        /// </summary>
        [Display(Name = "销售合同Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public long SaleContractId { get; set; }
        /// <summary>
        /// 销售合同编号
        /// </summary>
        [Display(Name = "销售合同编号")]
        [Required(ErrorMessage = "{0} 不应为空")]
        [StringLength(50, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
        public string SaleContractNo { get; set; }
        /// <summary>
        /// 销售购物车Id
        /// </summary>
        [Display(Name = "销售购物车Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public long SaleShoppingCartId { get; set; }
    }
}

